package com.abner.design.patterns.strategy;

/**
 * 野鸭
 * @author abner
 */
public class WildDuck extends Duck {

	public  WildDuck() {
		flyBehavior = new GoodFlyBehavior();
	}

	@Override
	public void display() {
		System.out.println("我是野鸭--");
	}

}
